const mongoose = require('mongoose');
const Schema = mongoose.Schema;

const schema = new Schema({
    accessToken: { type: String },
    accessTokenExpiresOn: { type: Date },
    clientId: { type: String },
    refreshToken: { type: String },
    refreshTokenExpiresOn: { type: Date },
    userId: { type: String }
});
mongoose.model('OAuthTokens', schema);